[_tb_system_call storage=system/_languageselect.ks]
[hidemenubutton]
[iscript]
f.Lies=0;
f.Sex=0;
if(!sf.firstrun)
{
var gui=require("nw.gui");
var win=gui.Window.get();
win.enterFullscreen();
sf.firstrun=1;
sf.ssize = "fs";

gSSize = localStorage.ssize;

}
else{
if(!f.init)
{
f.init=1

var gui=require("nw.gui");
var win=gui.Window.get();
if (localStorage.ssize === 'fs') {
win.enterFullscreen();
gSSize = "fs";
} else if (localStorage.ssize === 'ws') {
win.leaveFullscreen();
gSSize = "ws";
}

gSSize = localStorage.ssize;

}
else
{

sf.ssize = gSSize

localStorage.ssize = gSSize

}
}
[endscript]
[bg  time="3000"  method="crossfade"  storage="kkgames.jpg"  ]
[bg  time="3000"  method="crossfade"  storage="kob.jpg"  ]
[bg  time="3000"  method="crossfade"  storage="title.jpg"  ]
[tb_ptext_show  x="265"  y="277"  size="50"  color="0x787a64"  time="1000"  text="Language/язык/语言"  anim="false"  face=""  ]
[glink  color="black"  storage="languageselect.ks"  size="30"  text="English"  x="95"  y="380"  width=""  height=""  _clickable_img=""  target="*ENG"  ]
[glink  color="black"  storage="languageselect.ks"  size="30"  text="русский"  y="380"  x="370"  width=""  height=""  _clickable_img=""  target="*RUS"  ]
[glink  color="black"  storage="languageselect.ks"  size="30"  text="中文"  y="380"  x="650"  width=""  height=""  _clickable_img=""  target="*CHN"  ]
[s  ]
*ENG
[html]<script type="text/javascript" src="./tyrano/libs/alertify/alertify.min.js"></script>
<script type="text/javascript" src="./tyrano/lang.js" ></script>
[endhtml]
[tb_ptext_hide  time="1000"  ]
[jump  storage="title_screen.ks"  target=""  ]
*RUS
[html]<script type="text/javascript" src="./tyrano/libs/alertify/alertify.min_ru.js"></script>
<script type="text/javascript" src="./tyrano/lang_ru.js" ></script>
[endhtml]
[tb_ptext_hide  time="1000"  ]
[jump  storage="title_screen_ru.ks"  target=""  ]
*CHN
[html]<script type="text/javascript" src="./tyrano/libs/alertify/alertify.min_zh.js"></script>
<script type="text/javascript" src="./tyrano/lang_zh.js" ></script>
[endhtml]
[tb_ptext_hide  time="1000"  ]
[jump  storage="title_screen_zh.ks"  target=""  ]
